﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:Maps="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps" 
    x:Class="phoneApp.RunPage" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid x:Name="LayoutRoot">
        <controls:Panorama Title="Run">

            <!--Panorama item one-->
            <controls:PanoramaItem Header="Statistics">
                <Grid HorizontalAlignment="Left" Height="498" VerticalAlignment="Top" Width="420">
                    <TextBlock HorizontalAlignment="Left" Margin="25,24,0,0" TextWrapping="Wrap" Text="Distance" VerticalAlignment="Top"/>
                    <TextBlock x:Name="distanceText" HorizontalAlignment="Left" Margin="41,51,0,0" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" RenderTransformOrigin="0.239,0.191" Height="33" Width="100"/>
                    <TextBlock HorizontalAlignment="Left" Margin="25,103,0,0" TextWrapping="Wrap" Text="Time" VerticalAlignment="Top"/>
                    <TextBlock x:Name="timeText" HorizontalAlignment="Left" Margin="41,135,0,0" TextWrapping="Wrap" VerticalAlignment="Top"/>
                </Grid>

            </controls:PanoramaItem>

            <controls:PanoramaItem Header="Track">

                <Maps:Map x:Name="runMap" HorizontalAlignment="Left" Height="498" VerticalAlignment="Top" Width="420"/>

            </controls:PanoramaItem>
        </controls:Panorama>
    </Grid>

</phone:PhoneApplicationPage>